 <!DOCTYPE>
 <html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<style>
	*{
		margin:0px;
		padding: 0px;
	}
	p>span{
		margin-top:6px;
		background: #c1dbfc;
		width: 100px;
		height:25px;号码		text-align: center;
		line-height: 25px;
		border: 1px solid #ccc;
		display: inline-block;  /*将行内元素转换为行内块元素*/
	}
	h2{
		text-align: center;
	}
	div{
		width: 700px;
		height:400px;
		margin:10px auto;
		border: 1px solid #aaa;
		background: #89b4ea;
	}
	input{
		margin—left:200px;
	}
</style>
</head>
<body>
	<form action="${pageContext.request.contextPath }/zgAdjustDetaiedTaskResultServlet?id=${task.id}" method="post">
	<div>
		<h2>任务详细信息</h2>
		<p>
			<span>任务名称</span><input type="text" value="${task.task_name }" name="task_name">
		</p>
		<p>
			<span>开始时间</span><input type="Date"  value="${task.task_begin_time }" name="task_begin_time">
			<span>结束时间</span><input type="Date" value="${task.task_end_time }" name="task_end_time">
		</p>
		<p><span>实施人</span>
			<select name="staff_id">
				<c:forEach var = "l" items="${list  }">
					<option value="${l.username }">${l.name }</option>
				</c:forEach>      
			</select>
		</p>
		<p>
			<span>任务描述</span><input type="text" value="${task.task_description }" name="task_description">
		</p>
		<p>
			<span>任务状态</span><input type="text" value="${task.task_state }" name="task_state">
		</p>
	</div>
	<input type="submit" value="提交">
	<input type="reset" value="重置">
	</form>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%>
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
	p{
	margin-top:30px;
	text-align:left;
	}
	p span{
	width:80px;
	display:inline-block;
	text-align:right;
	}
	form{
	width:400px;
	height:430px;
	padding-left:200px;
	padding-top:10px;
	margin:30px auto;
	border-radius:20px;
	background:#f5f8fd;
	border:3px solid #1cc09f;
	margin-top:50px;
	}
	h2{color:#1cc09f;}
	.b1,.b2,.b3{
	width:60px;
	height:25px;
	border:1px solid #6b5d50;
	margin-left:15px;
	background:3bb7ea;
	}
	font{
	color:red;
	}
	.c{
	color:red;
	font-weight:bold; 
	}
</style>
<meta charset="UTF-8">
<title>修改未实施任务信息</title>
</head>
<body>
<h2 align="center">修改任务信息</h2>
<form action="${pageContext.request.contextPath }/zgAdjustDetaiedTaskResultServlet?id=${task.id}" method="post">
	<p>任务名称：<input type="text" name="task_name" value="${task.task_name }" style="width:150px; height: 24px;"/></br></p>
	<p>开始时间：<input type="date" name="task_begin_time" value="${task.task_begin_time }" style="width:150px; height: 24px;"/></br></p>
	<p>结束时间：<input type="date" name="task_end_time" value="${task.task_end_time }" style="width:150px; height: 24px;"/></br></p>
	<p>&nbsp;&nbsp;&nbsp;&nbsp;实施人：
			<select name="staff_id">
				<c:forEach var = "l" items="${list  }">
					<option value="${l.username }">${l.name }</option>
				</c:forEach>      
			</select></br></p>
	<p>任务描述：<input type="text" name="task_description" value="${task.task_description }" style="width:150px; height: 24px;"/></br></p>
	<p>任务状态：<input type="hidden" name="task_state" value="未实施"><font>未实施</font></br>	</p>			 
	<p>
		<input type="submit" class="b1" value="提交"/>
		<input type="reset" class="b2" value="重置"/>
		<input type="button" class="b3" name="Submit" onclick="javascript:history.back(-1);" value="返回">
	</p>
</form>
</body>
</html>